using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace NoteManger
{
	public class FrmNoteInfo : TemplateForm
	{
		private IContainer components = null;
		private GroupBox groupBox2;
		private PictureBox pboxNoteID;
		private Label label9;
		private GroupBox groupBox1;
		private Button btnCancel;
		private Label label8;
		private Label label7;
		private Label label6;
		private Label label5;
		private Label label4;
		private Label label3;
		private Label label2;
		private Label label1;
		private PictureBox pboxNoteMemo;
		private PictureBox pboxNoteCreateDate;
		private PictureBox pboxNoteDate;
		private PictureBox pboxNoteState;
		private PictureBox pboxNoteBody;
		private PictureBox pboxNoteTopic;
		private RichTextBox tboxNoteBody;
		private RichTextBox tboxNoteState;
		private RichTextBox tboxNoteMemo;
		private RichTextBox tboxNoteCreateTime;
		private RichTextBox tboxNoteCreateDate;
		private RichTextBox tboxNoteWorkLoad;
		private RichTextBox tboxNoteDate;
		private RichTextBox tboxNoteTopic;
		private RichTextBox tboxNoteID;
		private Label label11;
		private Label label10;
		private RichTextBox tboxHospital;
		private RichTextBox tboxAddress;
		private NoteRemote _NoteRemoteObject = null;
		private TLoginInfo _LoginInfo = new TLoginInfo();
		private string _NoteID = string.Empty;
		public NoteRemote NoteRemoteObject
		{
			set
			{
				this._NoteRemoteObject = value;
			}
		}
		public TLoginInfo LoginInfo
		{
			set
			{
				this._LoginInfo = value;
			}
		}
		public string NoteID
		{
			set
			{
				this._NoteID = value;
			}
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			this.groupBox2 = new GroupBox();
			this.tboxHospital = new RichTextBox();
			this.tboxAddress = new RichTextBox();
			this.label11 = new Label();
			this.label10 = new Label();
			this.tboxNoteBody = new RichTextBox();
			this.pboxNoteMemo = new PictureBox();
			this.pboxNoteCreateDate = new PictureBox();
			this.pboxNoteDate = new PictureBox();
			this.pboxNoteState = new PictureBox();
			this.pboxNoteBody = new PictureBox();
			this.pboxNoteTopic = new PictureBox();
			this.pboxNoteID = new PictureBox();
			this.tboxNoteState = new RichTextBox();
			this.label9 = new Label();
			this.groupBox1 = new GroupBox();
			this.btnCancel = new Button();
			this.tboxNoteMemo = new RichTextBox();
			this.label8 = new Label();
			this.tboxNoteCreateTime = new RichTextBox();
			this.label7 = new Label();
			this.tboxNoteCreateDate = new RichTextBox();
			this.label6 = new Label();
			this.tboxNoteWorkLoad = new RichTextBox();
			this.label5 = new Label();
			this.tboxNoteDate = new RichTextBox();
			this.label4 = new Label();
			this.label3 = new Label();
			this.tboxNoteTopic = new RichTextBox();
			this.label2 = new Label();
			this.tboxNoteID = new RichTextBox();
			this.label1 = new Label();
			this.groupBox2.SuspendLayout();
			((ISupportInitialize)this.pboxNoteMemo).BeginInit();
			((ISupportInitialize)this.pboxNoteCreateDate).BeginInit();
			((ISupportInitialize)this.pboxNoteDate).BeginInit();
			((ISupportInitialize)this.pboxNoteState).BeginInit();
			((ISupportInitialize)this.pboxNoteBody).BeginInit();
			((ISupportInitialize)this.pboxNoteTopic).BeginInit();
			((ISupportInitialize)this.pboxNoteID).BeginInit();
			base.SuspendLayout();
			this.groupBox2.Controls.Add(this.tboxHospital);
			this.groupBox2.Controls.Add(this.tboxAddress);
			this.groupBox2.Controls.Add(this.label11);
			this.groupBox2.Controls.Add(this.label10);
			this.groupBox2.Controls.Add(this.tboxNoteBody);
			this.groupBox2.Controls.Add(this.pboxNoteMemo);
			this.groupBox2.Controls.Add(this.pboxNoteCreateDate);
			this.groupBox2.Controls.Add(this.pboxNoteDate);
			this.groupBox2.Controls.Add(this.pboxNoteState);
			this.groupBox2.Controls.Add(this.pboxNoteBody);
			this.groupBox2.Controls.Add(this.pboxNoteTopic);
			this.groupBox2.Controls.Add(this.pboxNoteID);
			this.groupBox2.Controls.Add(this.tboxNoteState);
			this.groupBox2.Controls.Add(this.label9);
			this.groupBox2.Controls.Add(this.groupBox1);
			this.groupBox2.Controls.Add(this.btnCancel);
			this.groupBox2.Controls.Add(this.tboxNoteMemo);
			this.groupBox2.Controls.Add(this.label8);
			this.groupBox2.Controls.Add(this.tboxNoteCreateTime);
			this.groupBox2.Controls.Add(this.label7);
			this.groupBox2.Controls.Add(this.tboxNoteCreateDate);
			this.groupBox2.Controls.Add(this.label6);
			this.groupBox2.Controls.Add(this.tboxNoteWorkLoad);
			this.groupBox2.Controls.Add(this.label5);
			this.groupBox2.Controls.Add(this.tboxNoteDate);
			this.groupBox2.Controls.Add(this.label4);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Controls.Add(this.tboxNoteTopic);
			this.groupBox2.Controls.Add(this.label2);
			this.groupBox2.Controls.Add(this.tboxNoteID);
			this.groupBox2.Controls.Add(this.label1);
			this.groupBox2.Cursor = Cursors.Default;
			this.groupBox2.Font = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.groupBox2.ForeColor = System.Drawing.Color.White;
			this.groupBox2.Location = new System.Drawing.Point(11, 21);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(469, 488);
			this.groupBox2.TabIndex = 22;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "日志详细信息";
			this.tboxHospital.BackColor = System.Drawing.SystemColors.Control;
			this.tboxHospital.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxHospital.Location = new System.Drawing.Point(119, 241);
			this.tboxHospital.Name = "tboxHospital";
			this.tboxHospital.ReadOnly = true;
			this.tboxHospital.Size = new System.Drawing.Size(332, 23);
			this.tboxHospital.TabIndex = 55;
			this.tboxHospital.TabStop = false;
			this.tboxHospital.Text = "";
			this.tboxAddress.BackColor = System.Drawing.SystemColors.Control;
			this.tboxAddress.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxAddress.Location = new System.Drawing.Point(119, 204);
			this.tboxAddress.Name = "tboxAddress";
			this.tboxAddress.ReadOnly = true;
			this.tboxAddress.Size = new System.Drawing.Size(332, 23);
			this.tboxAddress.TabIndex = 54;
			this.tboxAddress.TabStop = false;
			this.tboxAddress.Text = "";
			this.label11.AutoSize = true;
			this.label11.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label11.Location = new System.Drawing.Point(50, 244);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(63, 14);
			this.label11.TabIndex = 52;
			this.label11.Text = "医院名称";
			this.label10.AutoSize = true;
			this.label10.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label10.Location = new System.Drawing.Point(50, 207);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(63, 14);
			this.label10.TabIndex = 50;
			this.label10.Text = "地    址";
			this.tboxNoteBody.Location = new System.Drawing.Point(119, 102);
			this.tboxNoteBody.Name = "tboxNoteBody";
			this.tboxNoteBody.ReadOnly = true;
			this.tboxNoteBody.Size = new System.Drawing.Size(332, 87);
			this.tboxNoteBody.TabIndex = 49;
			this.tboxNoteBody.Text = "";
			this.tboxNoteBody.DoubleClick += new EventHandler(this.tboxNoteBody_DoubleClick);
			this.pboxNoteMemo.InitialImage = null;
			this.pboxNoteMemo.Location = new System.Drawing.Point(12, 396);
			this.pboxNoteMemo.Name = "pboxNoteMemo";
			this.pboxNoteMemo.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteMemo.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteMemo.TabIndex = 48;
			this.pboxNoteMemo.TabStop = false;
			this.pboxNoteCreateDate.InitialImage = null;
			this.pboxNoteCreateDate.Location = new System.Drawing.Point(12, 355);
			this.pboxNoteCreateDate.Name = "pboxNoteCreateDate";
			this.pboxNoteCreateDate.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteCreateDate.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteCreateDate.TabIndex = 47;
			this.pboxNoteCreateDate.TabStop = false;
			this.pboxNoteDate.InitialImage = null;
			this.pboxNoteDate.Location = new System.Drawing.Point(12, 314);
			this.pboxNoteDate.Name = "pboxNoteDate";
			this.pboxNoteDate.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteDate.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteDate.TabIndex = 46;
			this.pboxNoteDate.TabStop = false;
			this.pboxNoteState.InitialImage = null;
			this.pboxNoteState.Location = new System.Drawing.Point(12, 273);
			this.pboxNoteState.Name = "pboxNoteState";
			this.pboxNoteState.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteState.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteState.TabIndex = 45;
			this.pboxNoteState.TabStop = false;
			this.pboxNoteBody.InitialImage = null;
			this.pboxNoteBody.Location = new System.Drawing.Point(13, 128);
			this.pboxNoteBody.Name = "pboxNoteBody";
			this.pboxNoteBody.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteBody.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteBody.TabIndex = 44;
			this.pboxNoteBody.TabStop = false;
			this.pboxNoteTopic.InitialImage = null;
			this.pboxNoteTopic.Location = new System.Drawing.Point(12, 60);
			this.pboxNoteTopic.Name = "pboxNoteTopic";
			this.pboxNoteTopic.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteTopic.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteTopic.TabIndex = 43;
			this.pboxNoteTopic.TabStop = false;
			this.pboxNoteID.InitialImage = null;
			this.pboxNoteID.Location = new System.Drawing.Point(12, 25);
			this.pboxNoteID.Name = "pboxNoteID";
			this.pboxNoteID.Size = new System.Drawing.Size(32, 32);
			this.pboxNoteID.SizeMode = PictureBoxSizeMode.StretchImage;
			this.pboxNoteID.TabIndex = 42;
			this.pboxNoteID.TabStop = false;
			this.tboxNoteState.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteState.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteState.Location = new System.Drawing.Point(119, 276);
			this.tboxNoteState.Name = "tboxNoteState";
			this.tboxNoteState.ReadOnly = true;
			this.tboxNoteState.Size = new System.Drawing.Size(332, 23);
			this.tboxNoteState.TabIndex = 41;
			this.tboxNoteState.TabStop = false;
			this.tboxNoteState.Text = "";
			this.label9.AutoSize = true;
			this.label9.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label9.Location = new System.Drawing.Point(50, 283);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(63, 14);
			this.label9.TabIndex = 40;
			this.label9.Text = "日志状态";
			this.groupBox1.Location = new System.Drawing.Point(6, 436);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(456, 6);
			this.groupBox1.TabIndex = 38;
			this.groupBox1.TabStop = false;
			this.btnCancel.BackColor = System.Drawing.Color.FromArgb(192, 192, 255);
			this.btnCancel.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.btnCancel.ForeColor = System.Drawing.Color.FromArgb(51, 79, 103);
			this.btnCancel.Location = new System.Drawing.Point(370, 454);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(81, 26);
			this.btnCancel.TabIndex = 37;
			this.btnCancel.TabStop = false;
			this.btnCancel.Text = "关闭(&C)";
			this.btnCancel.UseVisualStyleBackColor = false;
			this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
			this.tboxNoteMemo.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteMemo.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteMemo.Location = new System.Drawing.Point(119, 402);
			this.tboxNoteMemo.Name = "tboxNoteMemo";
			this.tboxNoteMemo.ReadOnly = true;
			this.tboxNoteMemo.Size = new System.Drawing.Size(332, 23);
			this.tboxNoteMemo.TabIndex = 36;
			this.tboxNoteMemo.TabStop = false;
			this.tboxNoteMemo.Text = "";
			this.label8.AutoSize = true;
			this.label8.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label8.Location = new System.Drawing.Point(50, 406);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(63, 14);
			this.label8.TabIndex = 35;
			this.label8.Text = "置疑说明";
			this.tboxNoteCreateTime.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteCreateTime.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteCreateTime.Location = new System.Drawing.Point(331, 360);
			this.tboxNoteCreateTime.Name = "tboxNoteCreateTime";
			this.tboxNoteCreateTime.ReadOnly = true;
			this.tboxNoteCreateTime.Size = new System.Drawing.Size(120, 23);
			this.tboxNoteCreateTime.TabIndex = 34;
			this.tboxNoteCreateTime.TabStop = false;
			this.tboxNoteCreateTime.Text = "";
			this.label7.AutoSize = true;
			this.label7.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label7.Location = new System.Drawing.Point(262, 365);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(63, 14);
			this.label7.TabIndex = 33;
			this.label7.Text = "创建时间";
			this.tboxNoteCreateDate.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteCreateDate.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteCreateDate.Location = new System.Drawing.Point(119, 360);
			this.tboxNoteCreateDate.Name = "tboxNoteCreateDate";
			this.tboxNoteCreateDate.ReadOnly = true;
			this.tboxNoteCreateDate.Size = new System.Drawing.Size(116, 23);
			this.tboxNoteCreateDate.TabIndex = 32;
			this.tboxNoteCreateDate.TabStop = false;
			this.tboxNoteCreateDate.Text = "";
			this.label6.AutoSize = true;
			this.label6.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label6.Location = new System.Drawing.Point(50, 365);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(63, 14);
			this.label6.TabIndex = 31;
			this.label6.Text = "创建日期";
			this.tboxNoteWorkLoad.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteWorkLoad.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteWorkLoad.Location = new System.Drawing.Point(373, 318);
			this.tboxNoteWorkLoad.Name = "tboxNoteWorkLoad";
			this.tboxNoteWorkLoad.ReadOnly = true;
			this.tboxNoteWorkLoad.Size = new System.Drawing.Size(78, 23);
			this.tboxNoteWorkLoad.TabIndex = 30;
			this.tboxNoteWorkLoad.TabStop = false;
			this.tboxNoteWorkLoad.Text = "";
			this.label5.AutoSize = true;
			this.label5.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label5.Location = new System.Drawing.Point(304, 324);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(63, 14);
			this.label5.TabIndex = 29;
			this.label5.Text = "工 作 量";
			this.tboxNoteDate.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteDate.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteDate.Location = new System.Drawing.Point(119, 318);
			this.tboxNoteDate.Name = "tboxNoteDate";
			this.tboxNoteDate.ReadOnly = true;
			this.tboxNoteDate.Size = new System.Drawing.Size(179, 23);
			this.tboxNoteDate.TabIndex = 28;
			this.tboxNoteDate.TabStop = false;
			this.tboxNoteDate.Text = "";
			this.label4.AutoSize = true;
			this.label4.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label4.Location = new System.Drawing.Point(50, 324);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(63, 14);
			this.label4.TabIndex = 27;
			this.label4.Text = "日志日期";
			this.label3.AutoSize = true;
			this.label3.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label3.Location = new System.Drawing.Point(50, 137);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(63, 14);
			this.label3.TabIndex = 26;
			this.label3.Text = "日志正文";
			this.tboxNoteTopic.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteTopic.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteTopic.Location = new System.Drawing.Point(119, 67);
			this.tboxNoteTopic.Name = "tboxNoteTopic";
			this.tboxNoteTopic.ReadOnly = true;
			this.tboxNoteTopic.Size = new System.Drawing.Size(332, 23);
			this.tboxNoteTopic.TabIndex = 25;
			this.tboxNoteTopic.TabStop = false;
			this.tboxNoteTopic.Text = "";
			this.label2.AutoSize = true;
			this.label2.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label2.Location = new System.Drawing.Point(50, 70);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(63, 14);
			this.label2.TabIndex = 24;
			this.label2.Text = "日志主题";
			this.tboxNoteID.BackColor = System.Drawing.SystemColors.Control;
			this.tboxNoteID.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxNoteID.Location = new System.Drawing.Point(119, 31);
			this.tboxNoteID.Name = "tboxNoteID";
			this.tboxNoteID.ReadOnly = true;
			this.tboxNoteID.Size = new System.Drawing.Size(332, 23);
			this.tboxNoteID.TabIndex = 23;
			this.tboxNoteID.TabStop = false;
			this.tboxNoteID.Text = "";
			this.label1.AutoSize = true;
			this.label1.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label1.Location = new System.Drawing.Point(50, 34);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(63, 14);
			this.label1.TabIndex = 22;
			this.label1.Text = "日志编号";
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
			base.AutoScaleMode = AutoScaleMode.Font;
			this.BackColor = System.Drawing.Color.FromArgb(51, 79, 103);
			base.ClientSize = new System.Drawing.Size(491, 521);
			base.Controls.Add(this.groupBox2);
			this.Cursor = Cursors.Hand;
			this.ForeColor = System.Drawing.Color.White;
			base.FormBorderStyle = FormBorderStyle.None;
			base.KeyPreview = true;
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			base.Name = "FrmNoteInfo";
			base.ShowInTaskbar = false;
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = "日志详细信息";
			base.Load += new EventHandler(this.FrmNoteInfo_Load);
			base.KeyDown += new KeyEventHandler(this.FrmNoteInfo_KeyDown);
			base.MouseDown += new MouseEventHandler(this.FrmNoteInfo_MouseDown);
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			((ISupportInitialize)this.pboxNoteMemo).EndInit();
			((ISupportInitialize)this.pboxNoteCreateDate).EndInit();
			((ISupportInitialize)this.pboxNoteDate).EndInit();
			((ISupportInitialize)this.pboxNoteState).EndInit();
			((ISupportInitialize)this.pboxNoteBody).EndInit();
			((ISupportInitialize)this.pboxNoteTopic).EndInit();
			((ISupportInitialize)this.pboxNoteID).EndInit();
			base.ResumeLayout(false);
		}
		[DllImport("User32.dll")]
		private static extern int SendMessage(int hWnd, int Msg, int wParam, int lParam);
		[DllImport("User32.dll")]
		private static extern int ReleaseCapture();
		public FrmNoteInfo()
		{
			this.InitializeComponent();
			try
			{
				System.Drawing.Image image = System.Drawing.Image.FromFile(NoteRemote.GetNoteClientStartPath() + "\\png\\NoteID.png");
				this.pboxNoteID.Image = image;
				image = System.Drawing.Image.FromFile(NoteRemote.GetNoteClientStartPath() + "\\png\\Topic.png");
				this.pboxNoteTopic.Image = image;
				image = System.Drawing.Image.FromFile(NoteRemote.GetNoteClientStartPath() + "\\png\\Body.png");
				this.pboxNoteBody.Image = image;
				image = System.Drawing.Image.FromFile(NoteRemote.GetNoteClientStartPath() + "\\png\\NoteState.png");
				this.pboxNoteState.Image = image;
				image = System.Drawing.Image.FromFile(NoteRemote.GetNoteClientStartPath() + "\\png\\NoteMemo.png");
				this.pboxNoteMemo.Image = image;
				image = System.Drawing.Image.FromFile(NoteRemote.GetNoteClientStartPath() + "\\png\\NoteDate.png");
				this.pboxNoteDate.Image = image;
			}
			catch (Exception ex)
			{
				MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
			}
		}
		private void btnCancel_Click(object sender, EventArgs e)
		{
			base.Close();
		}
		private void ShowNoteInfo(string aNoteID)
		{
			if (this._NoteRemoteObject != null)
			{
				if (this._LoginInfo.LoginSuccess)
				{
					try
					{
						if (!this._NoteRemoteObject.ConnectionTest())
						{
							MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							return;
						}
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
					string[] array = new string[0];
					string text = "";
					bool flag = false;
					try
					{
						flag = this._NoteRemoteObject.GetNoteInfo(aNoteID, ref array, ref text);
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					if (flag)
					{
						this.tboxNoteID.Text = array[0];
						this.tboxNoteTopic.Text = array[2];
						this.tboxNoteBody.Text = array[3];
						if (array[6] == "0")
						{
							this.tboxNoteState.Text = "未审核";
						}
						if (array[6] == "1")
						{
							this.tboxNoteState.Text = "已审核";
						}
						if (array[6] == "2")
						{
							this.tboxNoteState.Text = "置疑";
						}
						this.tboxNoteDate.Text = array[4];
						this.tboxNoteWorkLoad.Text = array[5];
						this.tboxNoteCreateDate.Text = array[7];
						this.tboxNoteCreateTime.Text = array[8];
						this.tboxNoteMemo.Text = array[9];
						string[,] array2 = new string[0, 0];
						string aStrSql = "select Address,Hospital from WorkNotes where NoteID = '" + this.tboxNoteID.Text + "'";
						this._NoteRemoteObject.CommonQuery(aStrSql, ref array2, ref text);
						this.tboxAddress.Text = array2[0, 0];
						this.tboxHospital.Text = array2[0, 1];
					}
					else
					{
						MessageBox.Show(text, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
				}
			}
		}
		private void FrmNoteInfo_Load(object sender, EventArgs e)
		{
			this.ShowNoteInfo(this._NoteID);
		}
		private void FrmNoteInfo_MouseDown(object sender, MouseEventArgs e)
		{
			FrmNoteInfo.ReleaseCapture();
			int hWnd = base.Handle.ToInt32();
			FrmNoteInfo.SendMessage(hWnd, 274, 61458, 0);
		}
		private void FrmNoteInfo_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Escape)
			{
				base.Close();
			}
		}
		private void tboxNoteBody_DoubleClick(object sender, EventArgs e)
		{
			base.Close();
		}
	}
}
